﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Nvigorate.Data.Query
{
    public class Top : IQueryObject
    {
        private IQueryObject _count = null;

        public IQueryObject Count
        {
            get { return _count; }
            set { _count = value; }
        }

        public static Top Limit(IQueryObject count)
        {
            return new Top() {_count = count};
        }

        public XElement GetXElementRepresentation()
        {
            throw new System.NotImplementedException();
        }

        public object ParseXElement(XElement element)
        {
            throw new System.NotImplementedException();
        }
    }
}
